package com.zhg.javakc.modules.group.tree.entity;

import com.zhg.javakc.base.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Entity;

/**
 * @author an
 * @version v0.0.1
 * @date 2019/11/25 16:12
 */

@Entity
@Setter
@Getter
@ToString
public class GroupEntity extends BaseEntity<GroupEntity> {
    /**
     * 组织主键id
     * SUPPLIER_GROUPID
     */
    private String supplierGroupId;
    /**
     * 组织名
     * GROUP_NAME
     */
    private String groupName;
    /**
     * 组织级别
     * GROUP_LEVEL
     */
    private int groupLevel;
    /**
     * 树的打开状态
     *  GROUP_STATE
     */
    private int groupState;
    /**
     * 父类id
     * GROUP_PID
     */
    private String groupPid;
    /**
     * 排序规则
     * GROUP_ORDER
     */
    private int groupOrder;
}
